<!DOCTYPE html>
<html xmlns:th="http://www.springframework.org/schema/jdbc" lang="">
<head>
    <meta charset="utf-8">
    <title>职位管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../../static/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="../../../static/expand/eleTree/eleTree/eleTree.css"  media="all">
</head>
<body>

<!--lay-filter="job_table" 表格初始化后下边监听table.on('toolbar(job_table)', function(obj)表格中的头+行操作事件-->
<div >
    <!--<table class="layui-table" id="job_table" lay-filter="job_table"></table>-->
    <div class="layui-btn-container"  style="padding-left: 30px;padding-top: 20px">
        <button id="add_top_job" type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="add_top_job">
            <i class="layui-icon">&#xe654;</i>
        </button>
        <button id="deleted_top_job" type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="batch_job_deleted">
            <i class="layui-icon">&#xe640;</i>
        </button>
    </div>

    <table class="layui-table layui-form" id="job_tree_table" lay-size="sm"></table>
</div>





<!--job_table_right 运用在表格初始化行数据cols中的操作栏 toolbar: -->
<script type="text/html" id="job_table_right">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail_job">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit_job">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete_job">删除</a>
</script>
<!-- job_table_top 运用在表格初始化属性中的 toolbar: -->
<script type="text/html" id="job_table_top"  >
    <!--<div class="layui-btn-container">-->
        <!--<button id="add_perm" type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="add_job">-->
            <!--<i class="layui-icon">&#xe654;</i>-->
        <!--</button>-->
        <!--<button  type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="batch_job_deleted">-->
            <!--<i class="layui-icon">&#xe640;</i>-->
        <!--</button>-->
    <!--</div>-->
</script>


<script src="../../../static/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../../../static/js/hospital/job.js"></script>

<script type="text/html" id="statusTemp">
    {{#  if(d.media.status==1){ }}
    <input type="checkbox" name="status" lay-skin="switch" checked   lay-text="开启|关闭"  value= {{ d.media.id}}  lay-filter="status" >
    {{#  } else { }}
    <input type="checkbox" name="status" lay-skin="switch"  lay-text="开启|关闭"  value= {{ d.media.id} lay-filter="status" >
    {{#  } }}
</script>
</body>
</html>
